﻿/******************/
/* EasyWeb reset */
/******************/

div, input, select, textarea, span, table, td, th, p, a, button, ul, ol, code, pre, li, nav {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.dropdown-menu > li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover {
    color: #333;
    text-decoration: none;
    background-image: none;
    background-color: #eee;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

/*********************************/
/* styles for validation helpers */
/*********************************/

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

/******************/
/* EasyWeb Layout */
/******************/

h1 {
    padding: 0;
    margin-top: 0;
    color: #666;
    font-size: 30px;
}

/*************/
/* EWAdmin */
/*************/

.easyweb-page-admin h2 {
    font-size: 24px;
    color: #444;
}

    .easyweb-page-admin h2 > i {
        font-size: 48px;
        width: 56px;
        vertical-align: middle;
    }

.easyweb-page-admin a > i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.easyweb-page-admin ul {
    margin-left: 64px;
}

@media (max-width: 768px) {
    .easyweb-page-admin h2 > i {
        display: none;
    }

    .easyweb-page-admin ul {
        margin-left: 0;
    }
}

/**********/
/* EWGrid */
/**********/

.easyweb-grid table {
    width: 100%;
}

    .easyweb-grid table thead,
    .easyweb-grid table tbody,
    .easyweb-grid table tfoot {
        padding: .5em;
    }

        .easyweb-grid table thead th,
        .easyweb-grid table tbody td,
        .easyweb-grid table tfoot td {
            padding: .5em 1em;
        }

            .easyweb-grid table thead th a, .easyweb-grid table thead th span {
                display: block;
                float: left;
            }

/*************/
/*  Common   */
/*************/

.easyweb-notice {
    color: red;
}

/*************/
/* Templates */
/*************/

/* Internal name */

.easyweb-internal-name {
    border: 1px solid #333;
    padding: 1px 0;
}

    .easyweb-internal-name:hover {
        border: 1px solid #00f;
    }

    .easyweb-internal-name span {
        padding: 1px 3px 1px 1px;
        background-color: #d0d0e0;
    }

    .easyweb-internal-name input {
        border: none;
        padding: 1px;
        width: 30em;
    }

/* Simple table */

table.easyweb-ewsimple {
    width: 100%;
}

    table.easyweb-ewsimple thead {
        font-weight: bold;
    }

        table.easyweb-ewsimple thead th {
            text-align: left;
            padding: .3em .5em;
            background-color: #e1eeee;
        }

    table.easyweb-ewsimple tbody td, table.easyweb-ewsimple tfoot td {
        padding: .3em .5em;
    }

/* Simple table action cell */

.easyweb-ewsimple-action-cell {
    vertical-align: middle;
}

/* Simple link button */

a.easyweb-ewsimple-link-button {
    color: #5c72f1;
    text-decoration: none;
}

/* Simple button */

.easyweb-ewsimple-button {
    padding: .2em 1em;
    margin: .5em;
    text-decoration: none;
    border: 1px solid #606060;
    color: #606060;
    background-color: #e7e7e7;
}

.easyweb-ewsimple-table-button {
    margin: 0 .5em;
}

/* EWText */

.easyweb-ewtext table textarea {
    width: 100%;
}

/* EWFieldDefinitionCollection */

.easyweb-ewfields p {
    margin: .5em 0;
}

/* EWSelectionItemDefinitionCollection */

.easyweb-ewselectionitems p {
    margin: .5em 0;
}

/* EWConfigurationLanguageModel */

.easyweb-ewdefaultlanguage div {
    margin: .5em 0;
}

.easyweb-ewdefaultlanguage input {
    margin: 0 0 0 .5em;
    vertical-align: middle;
}

.easyweb-ewdefaultlanguage select {
    margin: 0 0 0 .5em;
    vertical-align: middle;
    width: 24em;
}

/* EWConfigurationPrefixModel */

.easyweb-ewsystemprefix p {
    margin: .5em 0;
}

.easyweb-ewsystemprefix .easyweb-notice {
    margin: 0 0 0 .5em;
}

.easyweb-ewsystemprefix input {
    width: 20em;
}
